package com.lagou.rpc.consumer.msg;

import java.io.IOException;
import java.util.concurrent.Future;

/**
 * @author: wudong
 * @create: 2021-08-25 09:32
 **/
public interface OutBoundMsg<P,R> {
    Future<R> sendMsg(P msg) throws IOException;
}
